<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.css">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.js"></script>
</head>

<body class="container">
    <h3 align="center">按钮组工具栏</h3>
    <div class="btn-toolbar">
        <div class="btn-group mr-2">
            <button type="button" class="btn btn-primary">上一页</button>
        </div>
        <div class="btn-group mr-2">
            <button type="button" class="btn btn-warning">1</button>
            <button type="button" class="btn btn-warning">2</button>
            <button type="button" class="btn btn-warning">3</button>
            <button type="button" class="btn btn-warning">4</button>
            <button type="button" class="btn btn-warning">5</button>
            <button type="button" class="btn btn-warning">6</button>
            <button type="button" class="btn btn-warning">7</button>
            <button type="button" class="btn btn-warning">8</button>
        </div>
        <div class="btn-group">
            <button type="button" class="btn btn-info">下一页</button>
        </div>
    </div>
</body>

</html>